<!-- 注释：这个是模态框，要想弹出此页面，必须先将这个页面引进来，之所以其他页面点击登录没有效果是因为这个页面没有被引入进来 -->
<div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">用户登录</h4>
      </div>
      <div class="modal-body">
        <form class="form-horizontal" role="form" name='login_form'>
          <div class="form-group">
            <label for="inputEmail3" class="col-sm-3 control-label">账号</label>
            <div class="col-sm-8">
              <input type="input" name='username' class="form-control" id="inputEmail3" placeholder="用户名/邮箱" <notempty  name="user_remembered"> value='<{$user_remembered['name']}>'</notempty >>
            </div>
          </div>
          <div class="form-group">
            <label for="inputPassword3" class="col-sm-3 control-label">密码</label>
            <div class="col-sm-8">
              <input type="password" name='userpwd' class="form-control" id="inputPassword3" placeholder="密码" <notempty  name="user_remembered"> value='<{$user_remembered['password']}>'</notempty > >
            </div>
          </div>
          <div class="form-group">
            <label for="verify" class="col-sm-3 control-label">验证码</label>
            <div class="col-sm-4">
              <input type="text" name='user_verify' class="form-control" id="verify" placeholder="" MaxLength=4>
            </div>
            <div class="col-sm-4">
              <img src='__APP__/home/index/verify' class='verify_img' title='点击更换验证码'>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-offset-3 col-sm-8">
              <div class="checkbox">
                <label>
                  <input type="checkbox" name='remember'> 记住登录(一周)
                </label>
              </div>
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
              <button type="button" data-loading-text="正在登录..." class="btn btn-success login_button" >登录</button>
               <button type="button" class="btn btn-default" >重置</button>
            </div>
          </div>
        </form>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
